#include "Queue.h"

int main()
{
	Queue q;
	elemtype i;
	Init_queue(&q);
	DeList_queue(&q, &i);
	EnList_queue(&q,2);
	EnList_queue(&q, 5);
	EnList_queue(&q, 8);
	EnList_queue(&q, 99);
	EnList_queue(&q, 27);
	EnList_queue(&q, 32);
	EnList_queue(&q, 45);
	for (i = q.front; i < M; i++)
	{
		printf("%3d", q.a[i]);
	}
	printf("\n-----------\n");
	DeList_queue(&q, &i);
	for (i = q.front; i < M; i++)
	{
		printf("%3d", q.a[i]);
	}
}